import { createRouter, createWebHistory } from 'vue-router'
import Login from '../components/login/login.vue'
import Sign from '../components/sign/sign.vue'
import Check from '../components/check/check.vue'
import Analysis from '../components/analysis/analysis.vue'
import Ai from '../components/ai/ai.vue'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'login',
      component: Login,
    },
    {
      path: '/sign',
      name: 'sign',
      component: Sign,
    },
    {
      path: '/check',
      name: 'check',
      component: Check,
    },
    {
      path: '/analysis',
      name: 'analysis',
      component: Analysis,
    },
    {
      path: '/ai',
      name: 'ai',
      component: Ai,
    },
  ],
})

export default router
